package com.hsgene.goods.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 产品促销信息
 *
 * @author wangbing
 * @version 1.0, 2018/7/23
 */
public class GoodsPromotionDto implements Serializable {

    /**
     * 是否参与折扣
     */
    private boolean joinDiscount;

    /**
     * 折扣比例（当joinDiscount = true时，此字段有效）
     */
    private BigDecimal discount;

    /**
     * 是否参与秒杀
     */
    private boolean joinSeckill;

    /**
     * 秒杀剩余时间（单位：秒）
     */
    private Long seckillRemainingTime;

    /**
     * 标签列表
     */
    private List<String> tags;

    public boolean isJoinDiscount() {
        return joinDiscount;
    }

    public void setJoinDiscount(boolean joinDiscount) {
        this.joinDiscount = joinDiscount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public boolean isJoinSeckill() {
        return joinSeckill;
    }

    public void setJoinSeckill(boolean joinSeckill) {
        this.joinSeckill = joinSeckill;
    }

    public Long getSeckillRemainingTime() {
        return seckillRemainingTime;
    }

    public void setSeckillRemainingTime(Long seckillRemainingTime) {
        this.seckillRemainingTime = seckillRemainingTime;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }
}
